package com.ruoyi.applet.appletUser.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 小程序用户对象 applet_user
 * @author ruoyi
 * @date 2024-11-19
 */
public class AppletUser extends BaseEntity {
    
    private static final long serialVersionUID = 1L;
    
    /** 主键 */
    private Long id;
    
    /** 微信名称 */
    @Excel(name = "微信名称")
    private String nickname;
    
    /** 头像 */
    @Excel(name = "头像")
    private String avatar;
    
    /** 微信唯一标识 */
    @Excel(name = "微信唯一标识")
    private String openid;
    
    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;
    
    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;
    
    /** 用户性别 */
    @Excel(name = "用户性别")
    private String sex;
    
    /** 名片状态（0未生成，1已生成） */
    @Excel(name = "名片状态", readConverterExp = "0=未生成，1已生成")
    private Integer bcStatus;
    
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public String getNickname() {
        return nickname;
    }
    
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
    
    public String getAvatar() {
        return avatar;
    }
    
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
    
    public String getOpenid() {
        return openid;
    }
    
    public void setOpenid(String openid) {
        this.openid = openid;
    }
    
    public String getPhone() {
        return phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    
    public String getRealName() {
        return realName;
    }
    
    public void setRealName(String realName) {
        this.realName = realName;
    }
    
    public String getSex() {
        return sex;
    }
    
    public void setSex(String sex) {
        this.sex = sex;
    }
    
    public Integer getBcStatus() {
        return bcStatus;
    }
    
    public void setBcStatus(Integer bcStatus) {
        this.bcStatus = bcStatus;
    }
    
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("nickname", getNickname())
                .append("avatar", getAvatar())
                .append("openid", getOpenid())
                .append("phone", getPhone())
                .append("realName", getRealName())
                .append("sex", getSex())
                .append("bcStatus", getBcStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
